package org.railage.server.dao;

import java.util.List;

import org.railage.server.entities.Passenger;

/**
 * DAO for passenger entity.
 * 
 * @author Cyril Fertikov
 * 
 */
public interface PassengerDAO {

	/**
	 * Gets list of passengers that bought tickets on trip.
	 * 
	 * @param tripID
	 *            Trip ID.
	 * @return List of passengers.
	 */
	List<Passenger> getPassengersByTrip(int tripID);
}
